#!/bin/bash
#
#Move in nagios sources folder
#
cd /usr/local/src/nagios-3.2.3/
#
#Install and activate web-interface
#
make install-webconf
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
#
#Restart Apache web server
#
/etc/init.d/apache2 reload
